﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using INFSWA02.AbstractFactoryModels.Processors;
using INFSWA02.AbstractFactoryModels.Harddisks;

namespace INFSWA02.BLL.AbstractFactories.AbstractComponentFactory
{
    public class UltrabookFactory : IComponentFactory
    {
        public IProcessor CreateProcessor()
        {
            IntelProcessor processor = new IntelProcessor();
            processor.CpuName = "Intel";

            return processor;
        }

        public IHarddisk CreateHarddisk()
        {
            ToshibaHarddisk harddisk = new ToshibaHarddisk();
            harddisk.HarddiskName = "Toshiba";

            return harddisk;
        }
    }
}
